import numpy as np

# 游戏配置参数
class GameConfig:
    # 屏幕尺寸
    SCREEN_WIDTH = 800
    SCREEN_HEIGHT = 600
    
    # 游戏区域边界
    GAME_AREA = (0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)
    
    # 球球配置
    BALL_RADIUS = 10
    BALL_SPEED = 3
    BALL_COLOR_PLAYER = (0, 255, 0)  # 玩家绿色
    BALL_COLOR_ENEMY = (255, 0, 0)   # 敌人红色
    BALL_COLOR_TEAMMATE = (0, 0, 255) # 队友蓝色
    
    # 视野配置
    VIEW_RADIUS = 100  # 视野半径
    
    # 子弹配置
    BULLET_RADIUS = 3
    BULLET_SPEED = 8
    BULLET_COLOR = (255, 255, 0)  # 黄色
    
    # 障碍物配置
    OBSTACLE_COLOR = (100, 100, 100)  # 灰色
    
    # 游戏模式配置
    TEAM_SIZE = 5  # 每队人数
    
    # AI配置
    ACTION_SPACE_SIZE = 5  # 动作空间大小：停止、前进、后退、左转、右转、射击
    
    # 时间配置
    FPS = 60
    MAX_GAME_TIME = 300  # 最大游戏时间（秒）